from django.contrib import admin

# Register your models here.
from .models import  Article

@admin.register(Article)
class ArticleAdmin(admin.ModelAdmin):
    list_display = ("title", "content", "cover_img",'status',"creator")
    ordering = ("-id",)
    list_filter = ("cate_id",)